package cn.itcast.demo.mapper;

import cn.itcast.demo.pojo.Account;
import org.apache.ibatis.annotations.Param;

/**
 * @author 虎哥
 */
public interface AccountMapper {

    Account findById(Long id);

    void updateMoney(@Param("id")Long id, @Param("amount") long amount);
}
